package com.czwx.bee.base.web.validator;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;

/**
 * @Author:wiki
 * @Date:Create in 2018/7/10 0010 下午 3:19
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER,ElementType.FIELD})
@Constraint(validatedBy = DateCompareVali.class)
public @interface DateCompare {

    String type();

    String Date();

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};

    String message() default "{org.hibernate.validator.constraints.Range.message}";

}
